package adv4;

import java.util.*;

public class Shijian {

	public static void main(String[] args) {
		// 时间
		Date d = new Date();
		System.out.println(d);
		d.getMonth();// 8
		d.getDate();// ?//19
		d.getDay();// ? 周几？
		d.getYear();// 119?
		d.getHours();// 16
		System.out.println(d.getTime());
		System.out.println(d.getTimezoneOffset());
	}

}
